package com.testpro.learn.springbootjava;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * config
 *
 * @author Administrator testdevops @Date 2019-10-17 23:35
 */
@Configuration
public class Config {

  @Bean(name = "person")
  public Person getPerson() {
    System.out.println("hello");
    return new Person();
  }
}
